﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class Discussion_Starter : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }

    protected void Page_Unload(object sender, EventArgs e)
    {
        // not working for some reason :(
        Session["username"] = ownerId.Value.ToString();
    }

    protected void OpenDiscussion_Click(object sender, EventArgs e)
    {
        Session["username"] = ownerId.Value.ToString();
        Server.Transfer("Test.aspx");
    }

    protected void CreatDiscussion_Click(object sender, EventArgs e)
    {
        Session["username"] = ownerId.Value.ToString();
        Server.Transfer("CreateDiscussion.aspx");
    }
}